From: Eli Zaretskii Date: Thu, 17 Mar 2022 06:56:42 +0000 (+0200) Subject: Fix compilation error of xterm.c X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2370^2~1080 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=af90a4547167e9997ed2bd4a86b055c503c31462;p=emacs.git Fix compilation error of xterm.c * src/xterm.c (x_dnd_begin_drag_and_drop): Use current_count only if defined. Reported by Tassilo Horn . --- diff --git a/src/xterm.c b/src/xterm.c index 543046ca00b..1b0b3ef793f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1119,7 +1119,9 @@ x_dnd_begin_drag_and_drop (struct frame *f, Time time, Atom xaction, if (return_frame_p) x_dnd_return_frame = 1; +#ifdef USE_GTK current_count = 0; +#endif while (x_dnd_in_progress) {